﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrackIT.Data.Repositories;
using TrackIT.Data;

namespace TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            WorkRepository repository = new WorkRepository();

            UberProject uProject = new UberProject
            {
                Name = "Blah Proj",
                UberProjectId = 101
            };

            EOLProject eolProject = new EOLProject
            {
                Colour = "Gold",
                EOLProjectId = 1,
                UberProject = uProject
            };

            WorkLogEntry workEntry = new WorkLogEntry
            {
                EOLPojectId = eolProject,
                Start = DateTime.Now,
                IssueId = 12623
            };

            repository.AddWorkEntry(workEntry);
        }
    }
}
